--- openal-soft-1.15.1.org/Alc/mixer_neon.c	2013-08-08 04:05:34.770000002 +0000
+++ openal-soft-1.15.1/Alc/mixer_neon.c	2013-08-08 04:24:17.354000002 +0000
@@ -1,3 +1,5 @@
+#ifdef HAVE_NEON
+
 #include "config.h"
 
 #ifdef HAVE_ARM_NEON_H
@@ -57,5 +59,8 @@
 
 
 #define SUFFIX Neon
-#include "mixer_inc.c"
+#include "mixer_inc.h"
 #undef SUFFIX
+
+#endif /* HAVE_NEON */
+
--- openal-soft-1.15.1.org/Alc/mixer_sse.c	2013-08-08 04:05:34.766000002 +0000
+++ openal-soft-1.15.1/Alc/mixer_sse.c	2013-08-08 04:23:33.643000002 +0000
@@ -1,3 +1,5 @@
+#ifdef HAVE_SSE
+
 #include "config.h"
 
 #ifdef HAVE_XMMINTRIN_H
@@ -129,7 +131,7 @@
 }
 
 #define SUFFIX SSE
-#include "mixer_inc.c"
+#include "mixer_inc.h"
 #undef SUFFIX
 
 
@@ -202,3 +204,6 @@
     if(OutPos+pos == SamplesToDo)
         WetPendingClicks[0] += data[pos] * WetGain;
 }
+
+#endif /* HAVE_SSE */
+
--- openal-soft-1.15.1.org/Alc/mixer_c.c	2013-08-08 04:05:34.767000002 +0000
+++ openal-soft-1.15.1/Alc/mixer_c.c	2013-08-08 04:23:58.166000002 +0000
@@ -79,7 +79,7 @@
 }
 
 #define SUFFIX C
-#include "mixer_inc.c"
+#include "mixer_inc.h"
 #undef SUFFIX
 
 
